package router

import (
	//ginI18n "github.com/gin-contrib/i18n"
	"github.com/gin-gonic/gin"
	//"html/template"
	rou "gitee.com/daka1004/devops-runner/router"
)

func Router() *gin.Engine {
	Router := gin.Default()
	//Router.Use(i18n.GinI18nLocalize())
	systemRouter := rou.RunnerRouterGroup
	PrivateGroup := Router.Group("/api/v1")
	{
		systemRouter.InitRunnerRouter(PrivateGroup)
	}

	return Router
}
